#ifndef _GEO_STROKEMANAGER_H_
#define _GEO_STROKEMANAGER_H_

#include "../stdafx.h"
#include "GeometryBase.h"


class CStrokeManager
{
public:
	CStrokeManager();
	~CStrokeManager();

	void ClearStroke() {m_strokes.clear();}
	void AddPoint(const CVertex2D p) {m_strokes.push_back(p);}
	int GetStrokeLength() {return m_strokes.size();}
	CVertex2DIter GetStrokeBeginIterator();
	CVertex2DIter GetStrokeEndIterator();

	bool IsLine();
protected:

private:
	vector<CVertex2D> m_strokes;
};

#endif